<!-- 
Tokbox Template start
//-->

<?

global $displaytype;

if ( $displaytype =="subscriber" )
{

?>

<table border=0>
<tr>
<td>
<iframe width="510" height="300" src="http://cdn.livestream.com/embed/therealnews?layout=4&color=0xe7e7e7&autoPlay=false&mute=false&iconColorOver=0x888888&iconColor=0x777777&allowchat=true" style="border:0;outline:0" frameborder="0" scrolling="no"></iframe>
</td>
<td valign=top>
<div id="video_big"><img width=<?=$bv_width?> height=<?=$bv_height?> border=0 src="<?=$tb_baseurl?>/config/people.jpg"></div>
</td>
</tr></table>

<?
}

?>

<table border=0>
<tr><td valign=top>

<!--
<img src="$tb_baseurl/config/<?=$tb_config['UPLOADBANNER']?>">
//-->
<br>
<?
list($cell_width,$cell_height)=explode("X",$tb_config["CS"],2);
$tdwidth=$cell_width+$tb_config["BW"];
$tdcount= intval( 900 / $tdwidth );
$trcount= intval( ($tb_config["PN"] + $tdcount -1 ) / $tdcount );
//echo $tb_config["PN"] . " " . $tb_config["CS"] . " CellWidth:$cell_width Column: $tdcount Rows:$trcount <br>";

?>
</td></tr></table>

<!--
<table border=0 cellspace="<?echo $tb_config["BW"]?>" cellpadding="<?echo $tb_config["BW"]?>" style="background:<?echo $tb_config["CC"]?>; " width=900 >
//-->
<table border=0 cellspace="<?echo $tb_config["BW"]?>" cellpadding="<?echo $tb_config["BW"]?>" width=900 >

<? 
global $tb_baseurl;
 
$vcount=0;
$bgcolor=$tb_config["BC"];
for  ($i=0;$i< $trcount; $i++)
{
print "<tr>";
   for  ($j=0;$j< $tdcount; $j++)
   {
   	$vcount++;
	if ( $vcount <= $tb_config["PN"] )
		print "<td width=$cell_width height=$cell_height ><div id=\"video$vcount\"><img width=$cell_width height=$cell_height border=0 src=\"$tb_baseurl/config/people.jpg\"></div></td>";
	else
		print "<td width=$cell_width height=$cell_height>&nbsp;</td>";

   }
print "</tr>\n";

}
?>


<!-- 
Tokbox Template end
//-->
